<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/UI/ui.c 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_c78dc1806c68fd338fba226975244931.html">UI</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ui.c</div></div>
</div><!--header-->
<div class="contents">
<a href="ui_8c.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#include &quot;<a class="code" href="ui_8h.html">ui.h</a>&quot;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="comment">/*******************************************************************************************************************************************</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="comment"> * Public Variable</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="comment"> *******************************************************************************************************************************************/</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="ui_8c.html#a0b984db907b1a639d1c67171d450821e">   29</a></span><a class="code hl_struct" href="structlv__ui.html">lv_ui</a> <a class="code hl_variable" href="ui_8c.html#a0b984db907b1a639d1c67171d450821e">GUI</a>;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="ui_8c.html#ae198236d3c142466346a28ea4222e760">   32</a></span>lv_style_t <a class="code hl_variable" href="ui_8c.html#ae198236d3c142466346a28ea4222e760">Style_Common_Btn</a>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="ui_8c.html#a1e8c30c8adb1b408c27e2e317881ac1a">   35</a></span><a class="code hl_struct" href="structuser__gif__t.html">user_gif_t</a> <a class="code hl_variable" href="ui_8c.html#a1e8c30c8adb1b408c27e2e317881ac1a">GIF</a> = {</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>    .<a class="code hl_variable" href="structuser__gif__t.html#acbcf47369fe3c2197206fa4028ed5212">task</a> = NULL,</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>    .obj = NULL,</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    .img = NULL,</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>    .i = 0,</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>    .i_max = 0</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>};</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="ui_8c.html#a7f3d10f2d7234f9f11d501dd19755891">   44</a></span><span class="keyword">volatile</span> uint8_t <a class="code hl_variable" href="ui_8c.html#a7f3d10f2d7234f9f11d501dd19755891">Video_Touch_Flag</a> = 0;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="comment">/*******************************************************************************************************************************************</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span><span class="comment"> * Private Prototype</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="comment"> *******************************************************************************************************************************************/</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span><span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="ui_8c.html#a95def7d7b91854580fa36fe5807e9c18">icon_style_set</a>(lv_style_t *style);</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="comment">/*******************************************************************************************************************************************</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="comment"> * Public Function</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span><span class="comment"> *******************************************************************************************************************************************/</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85">   57</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85">ui_init</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>{</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>    <a class="code hl_function" href="ui_8c.html#a95def7d7b91854580fa36fe5807e9c18">icon_style_set</a>(&amp;<a class="code hl_variable" href="ui_8c.html#ae198236d3c142466346a28ea4222e760">Style_Common_Btn</a>);</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>    <a class="code hl_function" href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08">setup_scr_home</a>(&amp;<a class="code hl_variable" href="ui_8c.html#a0b984db907b1a639d1c67171d450821e">GUI</a>);</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>}</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="ui_8c.html#aa882f9c2907e1b31c87fd60953a0a7d4">   69</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="ui_8c.html#aa882f9c2907e1b31c87fd60953a0a7d4">delete_gif</a>(<a class="code hl_struct" href="structuser__gif__t.html">user_gif_t</a> *gif)</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>{</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>    <span class="keywordflow">if</span> (NULL != gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#acbcf47369fe3c2197206fa4028ed5212">task</a>)</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>    {</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>        lv_task_del(gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#acbcf47369fe3c2197206fa4028ed5212">task</a>);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>        gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#acbcf47369fe3c2197206fa4028ed5212">task</a> = NULL;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>    }</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>    <span class="keywordflow">if</span> (NULL != gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#a4a5d10b062256899c5a01893e75e731d">obj</a>)</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>    {</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>        lv_obj_del(gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#a4a5d10b062256899c5a01893e75e731d">obj</a>);</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>        gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#a4a5d10b062256899c5a01893e75e731d">obj</a> = NULL;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>    }</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>    <span class="keywordflow">if</span> (NULL != gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#a15a9da58fa9768c427dbd548764b2009">img</a>)</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>    {</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>        gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#a15a9da58fa9768c427dbd548764b2009">img</a> = NULL;</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    }</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>    gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#a78f7a37dba921e0b0347b960fb40bc51">i</a> = 0;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>    gif-&gt;<a class="code hl_variable" href="structuser__gif__t.html#ab69fff0256f5d6a04e4239b8bbb764fb">i_max</a> = 0;</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>}</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span><span class="comment">/*******************************************************************************************************************************************</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span><span class="comment"> * Private Function</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span><span class="comment"> *******************************************************************************************************************************************/</span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="ui_8c.html#a95def7d7b91854580fa36fe5807e9c18">   98</a></span><span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="ui_8c.html#a95def7d7b91854580fa36fe5807e9c18">icon_style_set</a>(lv_style_t *style)</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>{</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>    lv_style_init(style);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>    <span class="comment">//==========================================设置图像按钮样式=========================================//</span></div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>    <span class="comment">/* 透明度说明：0 ~ 100</span></div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span><span class="comment">     * LV_OPA_COVER : 完全不透明 == 100</span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span><span class="comment">     * LV_OPA_TRANSP : 完全透明 == 0</span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span><span class="comment">     */</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>    <span class="comment">//------------------------------------------默认状态时的样式----------------------------------------------//</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>    <span class="comment">// 混合属性</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>    lv_style_set_radius(style, LV_STATE_DEFAULT, 0);          <span class="comment">// 设置背景的圆角半径 LV_RADIUS_CIRCLE :最大半径</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>    lv_style_set_clip_corner(style, LV_STATE_DEFAULT, <span class="keyword">false</span>); <span class="comment">// 关闭圆角 (true: 启用在圆角（半径&gt; 0）角上裁剪溢出的内容)</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span> </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>    <span class="comment">/* 背景是一个简单的矩形,可以有渐变和radius圆角 */</span></div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>    lv_style_set_bg_color(style, LV_STATE_DEFAULT, LV_COLOR_WHITE);      <span class="comment">// 指定背景的颜色</span></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>    lv_style_set_bg_opa(style, LV_STATE_DEFAULT, LV_OPA_TRANSP);         <span class="comment">// 指定背景的不透明度</span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>    lv_style_set_bg_grad_color(style, LV_STATE_DEFAULT, LV_COLOR_WHITE); <span class="comment">// 指定背景渐变的颜色</span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span> </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>    <span class="comment">/* 边框绘制在背景之上,含有 radius 并取值为四舍五入 */</span></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>    lv_style_set_border_color(style, LV_STATE_DEFAULT, LV_COLOR_WHITE); <span class="comment">// 指定边框的颜色 -白色</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>    lv_style_set_border_opa(style, LV_STATE_DEFAULT, LV_OPA_TRANSP);    <span class="comment">// 指定边框的不透明度</span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>    lv_style_set_border_width(style, LV_STATE_DEFAULT, 0);              <span class="comment">// 设置边框的宽度</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>    <span class="comment">/* 轮廓类似于边框，但绘制在对象之外 */</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>    lv_style_set_outline_color(style, LV_STATE_DEFAULT, LV_COLOR_WHITE); <span class="comment">// 指定轮廓的颜色</span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>    lv_style_set_outline_opa(style, LV_STATE_DEFAULT, LV_OPA_TRANSP);    <span class="comment">// 指定轮廓的不透明度</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>    lv_style_set_outline_width(style, LV_STATE_DEFAULT, 0);              <span class="comment">// 设置轮廓的宽度</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>    lv_style_set_outline_pad(style, LV_STATE_DEFAULT, 0);                <span class="comment">// 设置对象与轮廓之间的间距</span></div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span>    <span class="comment">/* 阴影是物体下方的模糊区域</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span><span class="comment">    lv_style_set_shadow_color (style, LV_STATE_DEFAULT, LV_COLOR_WHITE);// 指定阴影的颜色</span></div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span><span class="comment">    lv_style_set_shadow_opa (style, LV_STATE_DEFAULT, LV_OPA_TRANSP);//指定阴影的不透明度</span></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span><span class="comment">    lv_style_set_shadow_width (style, LV_STATE_DEFAULT, 0);//置轮廓的宽度</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span><span class="comment">     */</span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>    <span class="comment">/* 图案是在背景中间绘制或重复以填充整个背景的图像</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span><span class="comment">    lv_style_set_pattern_image (style, LV_STATE_DEFAULT, NULL);//指向变量、图像文件或符号的路径的指针</span></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span><span class="comment">    lv_style_set_pattern_opa (style, LV_STATE_DEFAULT, LV_OPA_TRANSP);//指定图案的不透明度</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span><span class="comment">    lv_style_set_pattern_recolor (style, LV_STATE_DEFAULT, LV_COLOR_BLACK);//将此颜色混合到图案图像中</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span><span class="comment">    lv_style_set_pattern_recolor_opa (style, LV_STATE_DEFAULT, LV_OPA_TRANSP);//重着色的强度</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span><span class="comment">    lv_style_set_pattern_repeat (style, LV_STATE_DEFAULT, false);//true：图案将作为马赛克重复。false：将图案放在背景的中间</span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span><span class="comment">    */</span></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span> </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>    <span class="comment">/* 图像的属性</span></div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span><span class="comment">    lv_style_set_image_opa (style, LV_STATE_DEFAULT, LV_OPA_COVER);//图像的不透明度</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span><span class="comment">    lv_style_set_image_recolor(style, LV_STATE_DEFAULT, LV_COLOR_BLACK); //将此颜色混合到图案图像中</span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span><span class="comment">    lv_style_set_image_recolor_opa(style, LV_STATE_DEFAULT, LV_OPA_COVER);//重新着色的强度</span></div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span><span class="comment">    */</span></div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span> </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>    <span class="comment">//-----------------------------------------按压时的样式-----------------------------------------------//</span></div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>    <span class="comment">// lv_style_set_bg_opa(style, LV_STATE_PRESSED, LV_OPA_30);     //按钮 按下时背景的不透明度 -30%</span></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>    <span class="comment">// lv_style_set_bg_color(style, LV_STATE_PRESSED, LV_COLOR_BLACK); //按钮 按下时背景的颜色 -黑色</span></div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span> </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span>    <span class="comment">/*</span></div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span><span class="comment">    lv_style_set_border_color(style, LV_STATE_PRESSED, LV_COLOR_BLUE); //按钮 按下时边框 -蓝色</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span><span class="comment">    lv_style_set_border_opa(style, LV_STATE_DEFAULT, LV_OPA_30);//按钮 按下时边框的不透明度 -30%</span></div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span><span class="comment">    lv_style_set_border_width (style, LV_STATE_DEFAULT, 3);//按钮 按下时边框的宽度 -3</span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span><span class="comment">    */</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span> </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span>    lv_style_set_image_recolor(style, LV_STATE_PRESSED, LV_COLOR_BLACK); <span class="comment">// 设置按钮 按下时 的样式 - 黑色</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>    lv_style_set_image_recolor_opa(style, LV_STATE_PRESSED, LV_OPA_70);  <span class="comment">// 设置按钮 按下时 的样式 -重新着色的强度 70%</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span> </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span>    <span class="comment">// LV_STATE_FOCUSED 聚焦</span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>}</div>
<div class="ttc" id="asetup__scr__home_8c_html_a9e86b57f14343f1fdf1b6450fbcdef08"><div class="ttname"><a href="setup__scr__home_8c.html#a9e86b57f14343f1fdf1b6450fbcdef08">setup_scr_home</a></div><div class="ttdeci">void setup_scr_home(lv_ui *ui)</div><div class="ttdoc">创建主桌面</div><div class="ttdef"><b>Definition:</b> <a href="setup__scr__home_8c_source.html#l00034">setup_scr_home.c:34</a></div></div>
<div class="ttc" id="astructlv__ui_html"><div class="ttname"><a href="structlv__ui.html">lv_ui</a></div><div class="ttdoc">UI 布局设计</div><div class="ttdef"><b>Definition:</b> <a href="ui_8h_source.html#l00130">ui.h:131</a></div></div>
<div class="ttc" id="astructuser__gif__t_html"><div class="ttname"><a href="structuser__gif__t.html">user_gif_t</a></div><div class="ttdoc">自定义 GIF 利用 IMG 控件实现(也可尝试动画控件)</div><div class="ttdef"><b>Definition:</b> <a href="ui_8h_source.html#l00183">ui.h:184</a></div></div>
<div class="ttc" id="astructuser__gif__t_html_a15a9da58fa9768c427dbd548764b2009"><div class="ttname"><a href="structuser__gif__t.html#a15a9da58fa9768c427dbd548764b2009">user_gif_t::img</a></div><div class="ttdeci">lv_img_dsc_t * img</div><div class="ttdoc">GIF 图片源</div><div class="ttdef"><b>Definition:</b> <a href="ui_8h_source.html#l00187">ui.h:187</a></div></div>
<div class="ttc" id="astructuser__gif__t_html_a4a5d10b062256899c5a01893e75e731d"><div class="ttname"><a href="structuser__gif__t.html#a4a5d10b062256899c5a01893e75e731d">user_gif_t::obj</a></div><div class="ttdeci">lv_obj_t * obj</div><div class="ttdoc">GIF 图片控件</div><div class="ttdef"><b>Definition:</b> <a href="ui_8h_source.html#l00186">ui.h:186</a></div></div>
<div class="ttc" id="astructuser__gif__t_html_a78f7a37dba921e0b0347b960fb40bc51"><div class="ttname"><a href="structuser__gif__t.html#a78f7a37dba921e0b0347b960fb40bc51">user_gif_t::i</a></div><div class="ttdeci">uint16_t i</div><div class="ttdoc">GIF 图片组索引计数</div><div class="ttdef"><b>Definition:</b> <a href="ui_8h_source.html#l00188">ui.h:188</a></div></div>
<div class="ttc" id="astructuser__gif__t_html_ab69fff0256f5d6a04e4239b8bbb764fb"><div class="ttname"><a href="structuser__gif__t.html#ab69fff0256f5d6a04e4239b8bbb764fb">user_gif_t::i_max</a></div><div class="ttdeci">uint16_t i_max</div><div class="ttdoc">GIF 图片组索引上限</div><div class="ttdef"><b>Definition:</b> <a href="ui_8h_source.html#l00189">ui.h:189</a></div></div>
<div class="ttc" id="astructuser__gif__t_html_acbcf47369fe3c2197206fa4028ed5212"><div class="ttname"><a href="structuser__gif__t.html#acbcf47369fe3c2197206fa4028ed5212">user_gif_t::task</a></div><div class="ttdeci">lv_task_t * task</div><div class="ttdoc">GIF 任务句柄</div><div class="ttdef"><b>Definition:</b> <a href="ui_8h_source.html#l00185">ui.h:185</a></div></div>
<div class="ttc" id="aui_8c_html_a0b984db907b1a639d1c67171d450821e"><div class="ttname"><a href="ui_8c.html#a0b984db907b1a639d1c67171d450821e">GUI</a></div><div class="ttdeci">lv_ui GUI</div><div class="ttdoc">UI 全局控件对象管理</div><div class="ttdef"><b>Definition:</b> <a href="ui_8c_source.html#l00029">ui.c:29</a></div></div>
<div class="ttc" id="aui_8c_html_a1e8c30c8adb1b408c27e2e317881ac1a"><div class="ttname"><a href="ui_8c.html#a1e8c30c8adb1b408c27e2e317881ac1a">GIF</a></div><div class="ttdeci">user_gif_t GIF</div><div class="ttdoc">全局 GIF 句柄(单例)</div><div class="ttdef"><b>Definition:</b> <a href="ui_8c_source.html#l00035">ui.c:35</a></div></div>
<div class="ttc" id="aui_8c_html_a42bb09ef137aaeb1733173f3a88ccc85"><div class="ttname"><a href="ui_8c.html#a42bb09ef137aaeb1733173f3a88ccc85">ui_init</a></div><div class="ttdeci">void ui_init(void)</div><div class="ttdoc">UI 初始化</div><div class="ttdef"><b>Definition:</b> <a href="ui_8c_source.html#l00057">ui.c:57</a></div></div>
<div class="ttc" id="aui_8c_html_a7f3d10f2d7234f9f11d501dd19755891"><div class="ttname"><a href="ui_8c.html#a7f3d10f2d7234f9f11d501dd19755891">Video_Touch_Flag</a></div><div class="ttdeci">volatile uint8_t Video_Touch_Flag</div><div class="ttdoc">视频跟随触摸标志(video with touch)</div><div class="ttdef"><b>Definition:</b> <a href="ui_8c_source.html#l00044">ui.c:44</a></div></div>
<div class="ttc" id="aui_8c_html_a95def7d7b91854580fa36fe5807e9c18"><div class="ttname"><a href="ui_8c.html#a95def7d7b91854580fa36fe5807e9c18">icon_style_set</a></div><div class="ttdeci">static void icon_style_set(lv_style_t *style)</div><div class="ttdoc">按钮图标样式设置</div><div class="ttdef"><b>Definition:</b> <a href="ui_8c_source.html#l00098">ui.c:98</a></div></div>
<div class="ttc" id="aui_8c_html_aa882f9c2907e1b31c87fd60953a0a7d4"><div class="ttname"><a href="ui_8c.html#aa882f9c2907e1b31c87fd60953a0a7d4">delete_gif</a></div><div class="ttdeci">void delete_gif(user_gif_t *gif)</div><div class="ttdoc">清理 GIF 组件</div><div class="ttdef"><b>Definition:</b> <a href="ui_8c_source.html#l00069">ui.c:69</a></div></div>
<div class="ttc" id="aui_8c_html_ae198236d3c142466346a28ea4222e760"><div class="ttname"><a href="ui_8c.html#ae198236d3c142466346a28ea4222e760">Style_Common_Btn</a></div><div class="ttdeci">lv_style_t Style_Common_Btn</div><div class="ttdoc">按钮图标全局统一样式</div><div class="ttdef"><b>Definition:</b> <a href="ui_8c_source.html#l00032">ui.c:32</a></div></div>
<div class="ttc" id="aui_8h_html"><div class="ttname"><a href="ui_8h.html">ui.h</a></div><div class="ttdoc">UI 页面布局</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
